Cloudinary\Delivery D

Total Complexity 186
Dependencies 10
Dependents 7
Total lines 1,445
Lines of code 775
Logical lines of code 482
Comment lines 508
Methods 47
Properties 12

Methods 47

Method Rating Maintainability Complexity Lines of code
parse_element()
C
33 24 96
standardize_tag()
B
35 19 81
convert_tags()
A
42 13 52
set_usability()
A
51 10 25
get_urls()
A
44 7 40
validate_url()
A
56 8 18
create_size_relation()
A
47 7 32
find_attachment_size_urls()
S
47 6 36
rebuild_tag()
S
53 6 21
get_sized()
S
55 5 19
get_context_cache()
S
58 5 15
process_featured_image()
S
54 4 19
create_delivery()
S
55 4 19
sanitize_url()
S
62 5 10
is_allowed_type()
S
59 4 14
maybe_unsize_url()
S
58 4 14
is_deliverable()
S
65 4 8
get_media_tags()
S
62 3 11
generate_signature()
S
61 3 11
catch_urls()
S
62 3 11
init()
S
54 2 21
dns_prefetch()
S
70 3 6
get_transformations_maybe()
S
63 3 10
ensure_relation()
S
66 3 8
clean_url()
S
60 2 13
setup_hooks()
S
60 2 12
register_sync_type()
S
54 1 24
is_content_dir()
S
63 2 10
make_scaled_url()
S
65 2 8
descaled_url()
S
64 2 9
get_current_post_id()
S
80 2 3
update_relation()
S
72 2 5
get_settings_signature()
S
67 2 8
add_post_id()
S
63 1 13
remove_replace_cache()
S
80 1 3
init_delivery()
S
74 1 4
setup()
S
74 1 5
do_clear_cache()
S
81 1 3
clear_cache()
S
81 1 3
delete_bulk_size_relations()
S
62 1 10
update_size_relations_transformations()
S
66 1 8
update_size_relations_state()
S
66 1 8
update_size_relations_public_id()
S
63 1 10
unsync_size_relationship()
S
70 1 6
delete_size_relationship()
S
72 1 5
get_content_path()
S
74 1 4
__construct()
S
75 1 4